package com.appkubes.fintech.common.response;

/**
 * @author Jiahong Chen
 * @date 2019/10/31
 */
public enum ResponseCode {


    SUCCESS(200,"成功"),
    SYS_FAIL(1002,"系统异常"),
    FAIL(1001,"业务失败"),
    PARAM_FAIL(1003,"参数异常");

    private Integer code;
    private String message;

    ResponseCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public String getMessage() {
        return this.message;
    }

    public Integer getCode() {
        return this.code;
    }


}
